package com.yidu.best.bond.cashInventory.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yidu.best.bond.cashInventory.domain.CashInventoryVo;
import com.yidu.best.bond.cashInventory.service.CashInventoryService;
import com.yidu.best.bond.casharapInventory.domain.CasharapInventoryVo;

@Controller
@RequestMapping("/Bond/")
public class CashInventoryController {
	@Autowired
	private CashInventoryService cashInventoryService;
	
	@RequestMapping("getCashInventory")
	public String getCashInventory() {
		return "bond/inventory/cashInventory";
	}
	
	@ResponseBody
	@RequestMapping("CashInventory")
	public Map<String , Object > findPageQuery(CashInventoryVo cashInventoryVo){
		Map<String, Object> map = cashInventoryService.findPageQuery(cashInventoryVo);
		return map;
	}
}
